
public class TArchiveCryptoFile 
{
    private Long id;
    private TCryptoFile crypto_file;
    private String compressor;  
    private Long size;
    private Integer ratio;
    private long time;
//------------------------------------------------------------------------------
    TArchiveCryptoFile(){}
    public TArchiveCryptoFile(String compressor, Long ac_file_size, 
                        Integer ac_ratio, long ac_time, TCryptoFile crypto_file)
    {
        this.compressor = compressor;
        this.size = ac_file_size;
        this.ratio = ac_ratio;
        this.time = ac_time;
        this.crypto_file = crypto_file;
    }
    public Long getid() 
    {
        return id;
    }

    public void setid(Long ac_file_id) 
    {
        this.id = ac_file_id;
    }
    public TCryptoFile getcrypto_file() 
    {
        return crypto_file;
    }

    public void setcrypto_file(TCryptoFile crypto_file) 
    {
        this.crypto_file = crypto_file;
    }
    public String getcompressor() 
    {
        return compressor;
    }

    public void setcompressor(String compressor) 
    {
        this.compressor = compressor;
    }
    public Long getsize()
    {
        return size;
    }
    public void setsize(Long ac_file_size)
    {
        this.size = ac_file_size;
    }
    public int getratio()
    {
        return ratio;
    }
    public void setratio(int ac_ratio)
    {
        this.ratio = ac_ratio;
    }
    public long gettime()
    {
        return time;
    }
    public void settime(long ac_time)
    {
        this.time = ac_time;
    }
//    public boolean equals(Object other) 
//    {
//        if (this == other) return true;
//        if (!(other instanceof CryptoFile)) return false;
//
//        final CryptoFile crypto_file = (CryptoFile) other;
//
//        return true;
//    }
    
}
